package com.yf.course.modules.course.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yf.course.modules.course.entity.Speech;
import com.yf.course.modules.course.entity.Video;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface VideoMapper extends BaseMapper<Video> {
    /**
     * 根据课程ID分页查询讲稿
     */
    Page<Video> selectByCourseIdPage(Page<Video> page, @Param(value = "courseId") String courseId);
}
